<HTML>
<HEAD>
<TITLE>DefaultProjectName - OnExpose</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">OnExpose</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CButton4032',this)" class="pathLink">CButton</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">OnExpose</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose3759871374','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose3759871374','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose3759871374','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 101</div>
<pre class="codeExamples">
void <a href="#" onMouseOver="link('_member','OnExpose3759871374',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;OnExpose&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Expose event handler, draws button graphics and text.');" onMouseOut="return nd();">OOXlib::CButton::OnExpose</a>()
                       {
    // Create needed colors.
    CColor black(m_pXServerConnection, m_pScreen, 0, 0, 0);
    CColor white(m_pXServerConnection, m_pScreen,255, 255, 255);
    CColor gray(m_pXServerConnection, m_pScreen,131, 131, 131);
    // Draw button graphics and text.
    if(<a href="#" onMouseOver="link('_member','m_bIsButtonPressed3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>bool&nbsp;&nbsp;m_bIsButtonPressed ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_bIsButtonPressed</a>) {
        // Set foreground color to text color.
        if(NULL == <a href="#" onMouseOver="link('_member','m_pTextColor3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CColor *&nbsp;&nbsp;m_pTextColor ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pTextColor</a>) {
            <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;black);
        } else {
            <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(m_pTextColor);
        }
        // Compute the text positions.
        CUInt2dPoint textPosition(m_iHorizontalOffset, m_iVerticalOffset);
        // Draw text.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawText(textPosition);
        // Set foreground color to white.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;white);
        // Draw white lines.
        CUInt2dLine bottomWhiteLine(1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(bottomWhiteLine);
        CUInt2dLine rightWhiteLine(<a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, 1,  <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() -1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(rightWhiteLine);
        // Set foreground color to black.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;black);
        // Draw black lines.
        CUInt2dLine topBlackLine(0, 0, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, 0);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(topBlackLine);
        CUInt2dLine leftBlackLine(0, 0, 0, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(leftBlackLine);
        // Set foreground color to gray.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;gray);
        // Draw gray lines.
        CUInt2dLine topGrayLine(1, 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 2, 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(topGrayLine);
        CUInt2dLine leftGrayLine(1, 1, 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 2);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(leftGrayLine);
    } else {
        // Set foreground color to text color.
        if(NULL == <a href="#" onMouseOver="link('_member','m_pTextColor3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CColor *&nbsp;&nbsp;m_pTextColor ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pTextColor</a>) {
            <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','SetForegroundColor4007673340',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;SetForegroundColor&nbsp;&nbsp;(const CColor * pColor)',CAPTION,'<strong>Brief description</strong><BR>Sets the foreground color.');" onMouseOut="return nd();">SetForegroundColor</a>(&amp;black);
        } else {
            <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(m_pTextColor);
        }
        // Compute the text position.
        CUInt2dPoint textPosition(m_iHorizontalOffset - 1, m_iVerticalOffset - 1);
        // Draw text.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawText(textPosition);
        // Set foreground color to black.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;black);
        // Draw black lines.
        CUInt2dLine bottomBlackLine(0, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawLine(bottomBlackLine);
        CUInt2dLine rightBlackLine(<a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, 0,  <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetWidth() - 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.GetHeight() - 1);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','DrawLine3255497691',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawLine&nbsp;&nbsp;(const CUInt2dLine & Line)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d line to the window.');" onMouseOut="return nd();">DrawLine</a>(rightBlackLine);
        // Set foreground color to white.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','SetForegroundColor4007673340',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;SetForegroundColor&nbsp;&nbsp;(const CColor * pColor)',CAPTION,'<strong>Brief description</strong><BR>Sets the foreground color.');" onMouseOut="return nd();">SetForegroundColor</a>(&amp;white);
        // Draw white lines.
        <a href="#" onMouseOver="link('_class','CUInt2dLine4032',this); overLibDiagram();return overlib('<strong>Public Member Functions</strong><BR><TABLE><TR><TD>CUInt2dLine</TD></TR><TR><TD>GetEnd</TD></TR><TR><TD>GetEndX</TD></TR><TR><TD>GetEndY</TD></TR><TR><TD>GetSize</TD></TR><TR><TD>GetStart</TD></TR><TR><TD>GetStartX</TD></TR><TR><TD>GetStartY</TD></TR><TR><TD>Set</TD></TR><TR><TD>SetEnd</TD></TR><TR><TD>SetEndX</TD></TR><TR><TD>SetEndY</TD></TR><TR><TD>SetStart</TD></TR><TR><TD>SetStartX</TD></TR><TR><TD>SetStartY</TD></TR></TABLE>',CAPTION,'<strong>Brief description</strong><BR>Datatype to save the 2d line, four unsigned integer<BR>values: X and Y coordinates');" onMouseOut="return nd();">CUInt2dLine</a> topWhiteLine(0, 0, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetWidth2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetWidth&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle width.');" onMouseOut="return nd();">GetWidth</a>() - 2, 0);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','DrawLine3255497691',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawLine&nbsp;&nbsp;(const CUInt2dLine & Line)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d line to the window.');" onMouseOut="return nd();">DrawLine</a>(topWhiteLine);
        <a href="#" onMouseOver="link('_class','CUInt2dLine4032',this); overLibDiagram();return overlib('<strong>Public Member Functions</strong><BR><TABLE><TR><TD>CUInt2dLine</TD></TR><TR><TD>GetEnd</TD></TR><TR><TD>GetEndX</TD></TR><TR><TD>GetEndY</TD></TR><TR><TD>GetSize</TD></TR><TR><TD>GetStart</TD></TR><TR><TD>GetStartX</TD></TR><TR><TD>GetStartY</TD></TR><TR><TD>Set</TD></TR><TR><TD>SetEnd</TD></TR><TR><TD>SetEndX</TD></TR><TR><TD>SetEndY</TD></TR><TR><TD>SetStart</TD></TR><TR><TD>SetStartX</TD></TR><TR><TD>SetStartY</TD></TR></TABLE>',CAPTION,'<strong>Brief description</strong><BR>Datatype to save the 2d line, four unsigned integer<BR>values: X and Y coordinates');" onMouseOut="return nd();">CUInt2dLine</a> leftWhiteLine(0, 0, 0, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetHeight2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetHeight&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle height.');" onMouseOut="return nd();">GetHeight</a>() - 2);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','DrawLine3255497691',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawLine&nbsp;&nbsp;(const CUInt2dLine & Line)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d line to the window.');" onMouseOut="return nd();">DrawLine</a>(leftWhiteLine);
        // Set foreground color to gray.
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','SetForegroundColor4007673340',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;SetForegroundColor&nbsp;&nbsp;(const CColor * pColor)',CAPTION,'<strong>Brief description</strong><BR>Sets the foreground color.');" onMouseOut="return nd();">SetForegroundColor</a>(&amp;gray);
        // Draw gray lines.
        <a href="#" onMouseOver="link('_class','CUInt2dLine4032',this); overLibDiagram();return overlib('<strong>Public Member Functions</strong><BR><TABLE><TR><TD>CUInt2dLine</TD></TR><TR><TD>GetEnd</TD></TR><TR><TD>GetEndX</TD></TR><TR><TD>GetEndY</TD></TR><TR><TD>GetSize</TD></TR><TR><TD>GetStart</TD></TR><TR><TD>GetStartX</TD></TR><TR><TD>GetStartY</TD></TR><TR><TD>Set</TD></TR><TR><TD>SetEnd</TD></TR><TR><TD>SetEndX</TD></TR><TR><TD>SetEndY</TD></TR><TR><TD>SetStart</TD></TR><TR><TD>SetStartX</TD></TR><TR><TD>SetStartY</TD></TR></TABLE>',CAPTION,'<strong>Brief description</strong><BR>Datatype to save the 2d line, four unsigned integer<BR>values: X and Y coordinates');" onMouseOut="return nd();">CUInt2dLine</a> bottomGrayLine(1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetHeight2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetHeight&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle height.');" onMouseOut="return nd();">GetHeight</a>() - 2, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetWidth2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetWidth&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle width.');" onMouseOut="return nd();">GetWidth</a>() - 2, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetHeight2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetHeight&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle height.');" onMouseOut="return nd();">GetHeight</a>() - 2);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','DrawLine3255497691',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawLine&nbsp;&nbsp;(const CUInt2dLine & Line)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d line to the window.');" onMouseOut="return nd();">DrawLine</a>(bottomGrayLine);
        <a href="#" onMouseOver="link('_class','CUInt2dLine4032',this); overLibDiagram();return overlib('<strong>Public Member Functions</strong><BR><TABLE><TR><TD>CUInt2dLine</TD></TR><TR><TD>GetEnd</TD></TR><TR><TD>GetEndX</TD></TR><TR><TD>GetEndY</TD></TR><TR><TD>GetSize</TD></TR><TR><TD>GetStart</TD></TR><TR><TD>GetStartX</TD></TR><TR><TD>GetStartY</TD></TR><TR><TD>Set</TD></TR><TR><TD>SetEnd</TD></TR><TR><TD>SetEndX</TD></TR><TR><TD>SetEndY</TD></TR><TR><TD>SetStart</TD></TR><TR><TD>SetStartX</TD></TR><TR><TD>SetStartY</TD></TR></TABLE>',CAPTION,'<strong>Brief description</strong><BR>Datatype to save the 2d line, four unsigned integer<BR>values: X and Y coordinates');" onMouseOut="return nd();">CUInt2dLine</a> rightGrayLine(<a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetWidth2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetWidth&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle width.');" onMouseOut="return nd();">GetWidth</a>() - 2, 1, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetWidth2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetWidth&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle width.');" onMouseOut="return nd();">GetWidth</a>() - 2, <a href="#" onMouseOver="link('_member','m_Rectangle2399711695',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CUInt2dRectangle&nbsp;&nbsp;m_Rectangle ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Rectangle</a>.<a href="#" onMouseOver="link('_member','GetHeight2205739437',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned int&nbsp;&nbsp;GetHeight&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the rectangle height.');" onMouseOut="return nd();">GetHeight</a>() - 2);
        <a href="#" onMouseOver="link('_member','m_pGC3760068007',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;<a href="#" onMouseOver="link('_member','DrawLine3255497691',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawLine&nbsp;&nbsp;(const CUInt2dLine & Line)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d line to the window.');" onMouseOut="return nd();">DrawLine</a>(rightGrayLine);
    }
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
